{%extends 'base.html'%}
{% load staticfiles %}
{%block body%}

<!-- Post List -->
<section class="posts main-load">
    <div class="container">
        <div class="post-list">


            {% for article in articles %}
            <article class="meta" itemscope="" itemtype="http://schema.org/BlogPosting">
                <header>
                    <a href="{% url 'article' %}?id={{ article.id }}"  itemprop="url"><h2
                            itemprop="name headline">{{ article.title }}</h2></a>
                </header>
                <main>
                    <p itemprop="articleBody">
                        说明：

                      {{ article.shuoming }}
                    </p>
                </main>
                <footer>
                    <span class="time"><time datetime="{{ article.add_time }}" itemprop="datePublished" pubdate>{{ article.add_time }}</time>发布</span>
                    <span class="hr"></span>
                    <span class="comments">{{ article.get_message_nums }} 条评论</span>
                </footer>
            </article>



            {% endfor %}

            <!--<nav class="reade_more">-->
            <!--    <a href="/archives">Reade more...</a>-->
            <!--</nav>-->
            <nav class="reade_more">
            </nav>
        </div>
    </div>
</section>
<!--音乐播放器-->
{%endblock body%}